package cn.shengongying.admin.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author : RXK
 * Date : 2020-11-16 12:59
 * Code Less Think More
 * Desc:
 */
@Controller
@RequestMapping("/sys")
public class IndexController {

    @GetMapping(value = {"/sys/"})
    public String index() {
        return "/index";
    }


    @GetMapping("/error")
    public String error500() {
        return "/error/500";
    }

    @GetMapping("/auth")
    public String unAuth() {
        return "/error/un_auth";
    }
}
